<?php
    Yii::import('application.extensions.CJuiDateTimePicker.CJuiDateTimePicker');
?>
<form method="post" action>    
    <table class="search-table">
        <tr>
            <th>From Date:</th>
            <td>
                <?php
                    $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                        'name'=>'fromDate',
                        // additional javascript options for the date picker plugin
                        'options'=>array(
                            'showAnim' => 'fold',                            
                            'dateFormat' => 'dd-mm-yy'
                        ),
                        'htmlOptions'=>array(
                            'style'=>'height:20px;'
                        ),
                    ));
                ?>
            </td>
            <th>To Date:</th>
            <td><?php
                    $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                        'name'=>'toDate',
                        // additional javascript options for the date picker plugin
                        'options'=>array(
                            'showAnim' => 'fold',                            
                            'dateFormat' => 'dd-mm-yy'
                        ),
                        'htmlOptions'=>array(
                            'style'=>'height:20px;'
                        ),
                    ));
                ?></td>
            <th>User:</th>
            <td><?php echo CHtml::dropDownList('user', array(), menuService::getUserList(), array('empty' => 'NONE')); ?></td>
            <td><input type="submit" name="search" id="fileter" value="Filter Result" /></td>
        </tr>
    </table>
</form>